package com.leagueoflegends.service;

import com.leagueoflegends.bean.ChampionPassive;
import com.leagueoflegends.bean.ChampionPassiveDTO;
import com.leagueoflegends.bean.ChampionPassiveVO;

import java.util.List;

public interface ChampionPassiveService {

    void insert(ChampionPassive passive);

    void delete(Integer championId);

    void update(ChampionPassive passive);

    ChampionPassive select(Integer championId);

    List<ChampionPassiveVO> selectAllVO();

    Integer countChampionHavePassive();

    Integer countAllChampion();

    List<ChampionPassiveVO> selectAll(int pageNum, int pageSize);

    Integer searchChampionId(String title);

    List<ChampionPassiveDTO> searchNoPassiveChampion();

    Integer titleToPassive(String title);

    List<String> idToTitle(int id);

    void set0(Integer championId);

    void set1(Integer championId);
}
